#include "CTraceFilterSkipTwoEntities.h"


CTraceFilterSkipTwoEntities::CTraceFilterSkipTwoEntities(void *pPassEnt1, void *pPassEnt2)
{
	m_pPassEnt1 = pPassEnt1;
	m_pPassEnt2 = pPassEnt2;
}

bool CTraceFilterSkipTwoEntities::ShouldHitEntity(void *pHandleEntity, int contentsMask)
{
	return !(pHandleEntity == m_pPassEnt1 || pHandleEntity == m_pPassEnt2);
}

int CTraceFilterSkipTwoEntities::GetTraceType() const
{
	return 0;
}
